﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ImportacaoMxmSeman.aspx.cs" Inherits="GSG_importacaoSeman_ImportacaoMxmSeman" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true"></asp:ScriptManager>

<div>
	<p><img alt="Importacao" src="../../figuras/Importacao.gif" style="width: 506px; height: 28px" /></p>
</div>

<div id="divCorpo" runat="server" style="padding-top:20px">
    <table>
        <tr>
            <td colspan="3">
                <h3><asp:Label ID="lblCabecalho" runat="server" Text="Informe o arquivo"></asp:Label></h3>
            </td>
        </tr>
		<tr>
            <td colspan="3"><br /></td>
        </tr>
        <tr>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" Width="400px" />
            </td>
            <td>
                <asp:Button ID="btnImportar" runat="server" Text="Importar" OnClick="Importar_Click" OnClientClick="showDiv();"/>   
            </td>
            <td>
                <div id="divLoader" style="display:none">
                    <img src="loader.gif" alt="" id="loader" />
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                * Tamanho máximo do arquivo 2Mb
            </td>
        </tr>
        <tr>
            <td colspan="3"><br /></td>
        </tr>
    </table>
</div>

<script type="text/javascript" language='javascript'>

    function showDiv() {

        document.getElementById('divLoader').style.display = "";

        setTimeout('document.images["loader"].src="loader.gif"', 600000);

    } 

</script>

</asp:Content>
